package com.xtaller.easy.admin.specification;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.validation.constraints.*;

/**
 * Created by Taller on 2018/5/10
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value ="配置用户角色")
public class RoleSet {
    @ApiModelProperty(value = "用户id")
    private String userId;
    @ApiModelProperty(value = "角色信息")
    private String[] roleIds;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String[] getRoleIds() {
        return roleIds;
    }

    public void setRoleIds(String[] roleIds) {
        this.roleIds = roleIds;
    }
}
